| Visual Basic (Declaration) | |
|---|---|
<ExtensionAttribute()> Public Overloads Shared Function Any(Of T)( _ ByVal source As IEntityQuery(Of T) _ ) As Boolean  | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
Dim source As IEntityQuery(Of T) Dim value As Boolean value = EntityQueryExtensions.Any(Of T)(source)  | |
| C# | |
|---|---|
[ExtensionAttribute()] public static bool Any<T>( IEntityQuery<T> source )  | |
| C++/CLI | |
|---|---|
[ExtensionAttribute()] public: static bool Anygeneric<typename T> ( IEntityQuery<T^>^ source )  | |
Parameters
- source
 
Type Parameters
- T
 
| C# |  Copy Code | 
|---|---|
var mgr1 = new DomainModelEntityManager(); bool any = mgr1.Customers.Any();  | |
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family